<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>vue-ylm</title>

  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
    //设置rem单位大小
    var myWidth = document.documentElement.clientWidth || window.screen.width
    var fontSize = myWidth / 10 + 'px';
    document.getElementsByTagName('html')[0].style.fontSize = fontSize;

  </script>
</html>
